diff options
author | Harmon <Harmon758@gmail.com> | 2020-02-07 06:20:23 -0600 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-02-08 10:55:50 +0800 |
commit | 768b9fffa58e82d6aa1f799bd5caebede9c9231b (patch) | |
tree | 0f995bb2702601f5edc3db05c85169f12e547ee8 /git/test/test_config.py | |
parent | 5d22d57010e064cfb9e0b6160e7bd3bb31dbfffc (diff) | |
download | gitpython-768b9fffa58e82d6aa1f799bd5caebede9c9231b.tar.gz |
Remove and replace compat.string_types
Diffstat (limited to 'git/test/test_config.py')
-rw-r--r-- | git/test/test_config.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git/test/test_config.py b/git/test/test_config.py index 83e510be..ce7a2cde 100644 --- a/git/test/test_config.py +++ b/git/test/test_config.py @@ -10,7 +10,6 @@ import io from git import ( GitConfigParser ) -from git.compat import string_types from git.config import _OMD, cp from git.test.lib import ( TestCase, @@ -157,7 +156,7 @@ class TestBase(TestCase): num_options += 1 val = r_config.get(section, option) val_typed = r_config.get_value(section, option) - assert isinstance(val_typed, (bool, int, float, ) + string_types) + assert isinstance(val_typed, (bool, int, float, str)) assert val assert "\n" not in option assert "\n" not in val |