Skip to content

Commit

Permalink
Use Python 3.12 for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Nov 9, 2023
1 parent 980ddd1 commit 5580ed0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.3', '3.10']
python-version: ['3.3', '3.12']
os: [ubuntu-20.04, macos-latest, windows-2019]
exclude:
- os: macos-latest
Expand Down
6 changes: 3 additions & 3 deletions ambuild2/frontend/cpp/cpp_rules_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ def runTest(self):
'arch': 'x86_64',
})
self.assertIn('CFLAGS', props)
self.assertEquals(props['CFLAGS'], ['-m64'])
self.assertEqual(props['CFLAGS'], ['-m64'])

props = rp.parse({
'family': 'msvc',
'arch': 'x86_64',
})
self.assertEquals(props, {})
self.assertEqual(props, {})

props = rp.parse({
'family': 'gcc',
'arch': 'x86',
'platform': 'mac',
})
self.assertIn('CFLAGS', props)
self.assertEquals(props['CFLAGS'], ['-m32', '-arch', 'i386'])
self.assertEqual(props['CFLAGS'], ['-m32', '-arch', 'i386'])

0 comments on commit 5580ed0

Please sign in to comment.