From 63a88c873f3643aad9208488765dc53618edd40e Mon Sep 17 00:00:00 2001 From: Jędrzej Boczar Date: Thu, 22 Apr 2021 20:53:30 +0200 Subject: move all tests to top-level tests/ directory --- tests/indent/python/control_flow.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/indent/python/control_flow.py (limited to 'tests/indent/python/control_flow.py') diff --git a/tests/indent/python/control_flow.py b/tests/indent/python/control_flow.py new file mode 100644 index 000000000..c8cd2541b --- /dev/null +++ b/tests/indent/python/control_flow.py @@ -0,0 +1,22 @@ +if a == a: + x = 1 +elif b: + x = 2 +else: + x = 3 + +while False: + pass + +for _ in range(3): + pass + +with open('/tmp/f', 'w') as f: + pass + +try: + pass +except: + pass +finally: + pass -- cgit v1.2.3-70-g09d2