OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # that can be found in the LICENSE file. |
5 | 5 |
6 """Unit tests for nasort.py.""" | 6 """Unit tests for nasort.py.""" |
7 | 7 |
8 import doctest | 8 import doctest |
9 import os | 9 import os |
10 import sys | 10 import sys |
11 | 11 |
12 import natsort | 12 import natsort |
13 | 13 |
14 | 14 |
15 if __name__ == '__main__': | 15 if __name__ == '__main__': |
16 doctest.testmod(natsort) | 16 doctest.testmod(natsort) |
OLD | NEW |