1. Jan-Philip Gehrcke
  2. gipc

Commits

Jan-Philip Gehrcke  committed 65094d4

Make test classes newstyle. doh.

  • Participants
  • Parent commits 01c72b1
  • Branches default

Comments (0)

Files changed (1)

File test/test_gipc.py

View file
         raise Exception("Test case left open descriptor behind.")
 
 
-class TestComm():
+class TestComm(object):
     """Test basic communication within single greenlets or among greenlets via
     pipe-based unidirectional transport channels and `_GIPCHandle`s.
 
         assert len(get_all_handles()) == 2
 
 
-class TestClose():
+class TestClose(object):
     """Test `_GIPCHandle`s close behavior and read/write behavior in context of
     closing.
     """
         self.rh.close()
 
 
-class TestProcess():
+class TestProcess(object):
     """Test child process behavior and `_GProcess` API.
     """
     def test_is_alive_true(self):
     pass
 
 
-class TestIPC():
+class TestIPC(object):
     """Test file descriptor passing and inter-process communication based on
     unidirectional message transfer channels.
     """
     w.close()
 
 
-class TestContextManager():
+class TestContextManager(object):
     """Test context manager behavior regarding unidirectional transport.
     """
     def teardown(self):
 
 
 @mark.skipif('WINDOWS')
-class TestGetTimeout():
+class TestGetTimeout(object):
     """Test timeout feature of `_GIPCReader` on POSIX-compliant systems.
     """
     def teardown(self):
         assert False
 
 
-class TestDuplexHandleBasic():
+class TestDuplexHandleBasic(object):
     """Test duplex handle behavior in single process.
     """
     def teardown(self):
             h1.close()
 
 
-class TestDuplexHandleIPC():
+class TestDuplexHandleIPC(object):
     """Test duplex handles for inter-process communication.
     """
     def teardown(self):
     h.put(h.get())
 
 
-class TestSimpleUseCases():
+class TestSimpleUseCases(object):
     """Test very basic usage scenarios of gipc (pure gipc+gevent).
     """
     def teardown(self):
     sys.exit(5)
 
 
-class TestComplexUseCases():
+class TestComplexUseCases(object):
     """Tests with increased complexity, also involving server components of
     gevent. Reproduction of common usage scenarios.
     """