Ticket #6499: fix-tests-for-windows.patch

File fix-tests-for-windows.patch, 600 bytes (added by Hynek Schlawack, 8 years ago)
  • twisted/internet/test/test_endpoints.py

    diff --git twisted/internet/test/test_endpoints.py twisted/internet/test/test_endpoints.py
    index 3ae009b..55f80c7 100644
    class ServerStringTests(unittest.TestCase): 
    18821882            ValueError,
    18831883            endpoints.serverFromString,
    18841884            object(),
    1885             self.SSL_CHAIN_TEMPLATE % (escapedPEMPathName, fp.path,)
     1885            self.SSL_CHAIN_TEMPLATE % (
     1886                escapedPEMPathName,
     1887                endpoints.quoteStringArgument(fp.path),
     1888            )
    18861889        )
    18871890
    18881891