Skip to content

Commit dc43053

Browse files
committed
Remove explicit references to shared library file in tests
1 parent 3a909cb commit dc43053

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/test_player.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ def test_init():
2424
assert player.original_function.restype == c_int
2525
with pytest.raises(ValueError):
2626
player = Player('test')
27-
assert "libstrategies.so" == player.shared_library_name
28-
assert type(player.shared_library) is CDLL
29-
assert "libstrategies.so" in str(player.shared_library)
30-
31-
32-
def test_init_with_shared():
33-
player = Player("k42r", shared_library_name="libstrategies.so")
34-
assert "libstrategies.so" == player.shared_library_name
35-
assert type(player.shared_library) is CDLL
36-
assert "libstrategies.so" in str(player.shared_library)
3727

3828

3929
def test_matches():

0 commit comments

Comments
 (0)