mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The `mock.assert_called()` method was added in Python 3.6, so fails on some of our older CI machines that use Python 3.5. `assert(mock.called)` is precisely equivalent and works with older versions of the Python unittest.mock library.
build_swift
The build_swift module contains data-structures and functions used by
the Swift build-script.
Unit Tests
You may run the unit test suite using the command:
$ python utils/build_swift/run_tests.py