summaryrefslogtreecommitdiff
path: root/tests/unittest_nodes.py
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-02-22 12:45:33 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-27 21:23:42 +0100
commit40373681b277a672f127ad2e15ec74e74b0bfe44 (patch)
treedbd5225a18168ede9c2a06ddc190c3e0267630ae /tests/unittest_nodes.py
parentfe8587b60ad3dc61192fc1e37ecee19cbf518d69 (diff)
downloadastroid-git-40373681b277a672f127ad2e15ec74e74b0bfe44.tar.gz
Fix black issues
Diffstat (limited to 'tests/unittest_nodes.py')
-rw-r--r--tests/unittest_nodes.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/unittest_nodes.py b/tests/unittest_nodes.py
index 5455810e..aececf45 100644
--- a/tests/unittest_nodes.py
+++ b/tests/unittest_nodes.py
@@ -115,15 +115,13 @@ class AsStringTest(resources.SysPathSetup, unittest.TestCase):
self.assertEqual(ast.as_string(), "raise_string(*args, **kwargs)")
def test_module_as_string(self):
- """check as_string on a whole module prepared to be returned identically
- """
+ """check as_string on a whole module prepared to be returned identically"""
module = resources.build_file("data/module.py", "data.module")
with open(resources.find("data/module.py")) as fobj:
self.assertMultiLineEqual(module.as_string(), fobj.read())
def test_module2_as_string(self):
- """check as_string on a whole module prepared to be returned identically
- """
+ """check as_string on a whole module prepared to be returned identically"""
module2 = resources.build_file("data/module2.py", "data.module2")
with open(resources.find("data/module2.py")) as fobj:
self.assertMultiLineEqual(module2.as_string(), fobj.read())