From 780a993826c2877ce98f312a0cb33688330bd8c9 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 14 May 2014 21:12:02 +0300 Subject: [PATCH] os: Rename direcorty functions test. --- os/test_dirs.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/os/test_dirs.py b/os/test_dirs.py index ad43e4c4..6a20c13c 100644 --- a/os/test_dirs.py +++ b/os/test_dirs.py @@ -1,6 +1,14 @@ import os +print(os.getcwd()) + l = os.listdir() print(l) -assert "test_listdir.py" in l +assert "test_dirs.py" in l assert "os" in l + +for t in os.walk("."): + print(t) + +for t in os.walk(".", False): + print(t)