##// END OF EJS Templates
Merge pull request #1603 from takluyver/remove-py3-profile...
Fernando Perez -
r6500:3ea52843 merge
parent child Browse files
Show More
@@ -110,7 +110,7 b' def list_bundled_profiles():'
110 profiles = []
110 profiles = []
111 for profile in files:
111 for profile in files:
112 full_path = os.path.join(path, profile)
112 full_path = os.path.join(path, profile)
113 if os.path.isdir(full_path):
113 if os.path.isdir(full_path) and profile != "__pycache__":
114 profiles.append(profile)
114 profiles.append(profile)
115 return profiles
115 return profiles
116
116
@@ -146,6 +146,6 b' def test_list_profiles_in():'
146
146
147 def test_list_bundled_profiles():
147 def test_list_bundled_profiles():
148 # This variable will need to be updated when a new profile gets bundled
148 # This variable will need to be updated when a new profile gets bundled
149 bundled_true = [u'cluster', u'math', u'pysh', u'python3', u'sympy']
149 bundled_true = [u'cluster', u'math', u'pysh', u'sympy']
150 bundled = sorted(list_bundled_profiles())
150 bundled = sorted(list_bundled_profiles())
151 nt.assert_equals(bundled, bundled_true)
151 nt.assert_equals(bundled, bundled_true)
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now