Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
fix python3-incompatible reference to basestring
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Browning committed Jun 5, 2014
1 parent b278434 commit 6d0f64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charlatan/fixtures_manager.py
Expand Up @@ -107,7 +107,7 @@ def _load_fixtures(self, filenames):
:param list or str filenames: files that hold the fixture data
"""

if isinstance(filenames, basestring):
if isinstance(filenames, _compat.string_types):
content = load_file(filenames, self.use_unicode)
else:
content = {}
Expand Down

0 comments on commit 6d0f64d

Please sign in to comment.