Skip to content

Commit

Permalink
Surpress flake8 warning about undefined name
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Arndt <[email protected]>
  • Loading branch information
SpotlightKid committed Oct 15, 2019
1 parent ab6389d commit 487ce9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_rtmidi.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


if bytes is str:
string_types = (str, unicode)
string_types = (str, unicode) # noqa:F821
else:
string_types = (str,)

Expand Down Expand Up @@ -57,7 +57,7 @@ def test_get_compiled_api_by_name(self):
def test_get_rtmidi_version(self):
version = rtmidi.get_rtmidi_version()
self.assertTrue(isinstance(version, string_types))
self.assertEqual(version, '3.0.0')
self.assertEqual(version, '4.0.0')


class BaseTests:
Expand Down

0 comments on commit 487ce9d

Please sign in to comment.