diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-08-21 21:48:56 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-08-21 21:48:56 -0400 |
commit | 842da71b63d02d22f688772d704a68c2a86a0e5b (patch) | |
tree | 0cc33629cd30f5a7a095bf04393907d1b75f0d8c | |
parent | 755754d17e88da2c5f763986039ccf68e219232c (diff) | |
download | six-842da71b63d02d22f688772d704a68c2a86a0e5b.tar.gz |
Prefer double-quoted strings
-rw-r--r-- | test_six.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test_six.py b/test_six.py index adc55bd..beb9841 100644 --- a/test_six.py +++ b/test_six.py @@ -524,21 +524,21 @@ def test_patch_with_metaclass(): def test_patch_with_metaclass_extra_meta(): class Meta1(type): - m1 = 'm1' + m1 = "m1" class Meta2(Meta1): - m2 = 'm2' + m2 = "m2" @six.patch_with_metaclass(Meta1) class Base: - b = 'b' + b = "b" @six.patch_with_metaclass(Meta2) class X(Base): - x = 'x' + x = "x" assert type(X) is Meta2 assert issubclass(X, Base) assert type(Base) is Meta1 - assert not '__dict__' in vars(X) + assert not "__dict__" in vars(X) instance = X() - instance.attr = 'test' - assert vars(instance) == {'attr': 'test'} + instance.attr = "test" + assert vars(instance) == {"attr": "test"} assert instance.b == Base.b assert instance.x == X.x |