Skip to content

Commit

Permalink
Changed base class for TestNamedPipe from object to TestCase (tomerfi…
Browse files Browse the repository at this point in the history
…liba-org#544 suggests setUp is not executing)
  • Loading branch information
comrumino committed Oct 12, 2023
1 parent ae0d33a commit 8f54526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_win32pipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


@unittest.skipIf(sys.platform != "win32", "Requires windows")
class Test_Pipes(unittest.TestCase):
class TestPipes(unittest.TestCase):
def test_basic_io(self):
p1, p2 = PipeStream.create_pair()
p1.write(BYTES_LITERAL("hello"))
Expand Down Expand Up @@ -36,7 +36,7 @@ def test_rpyc(self):


@unittest.skipIf(sys.platform != "win32", "Requires windows")
class Test_NamedPipe(object):
class TestNamedPipe(unittest.TestCase):
def setUp(self):
self.pipe_server_thread = rpyc.spawn(self.pipe_server)
time.sleep(1) # make sure server is accepting already
Expand Down

0 comments on commit 8f54526

Please sign in to comment.