@@ -113,7 +113,7 @@ def default(session, install_grpc=True):
113113 pytest_args = [
114114 "python" ,
115115 "-m" ,
116- "py.test " ,
116+ "pytest " ,
117117 * (
118118 # Helpful for running a single test or testfile.
119119 session .posargs
@@ -146,13 +146,13 @@ def default(session, install_grpc=True):
146146 session .run (* pytest_args )
147147
148148
149- @nox .session (python = ["3.7" , "3.8" , "3.9" , "3.10" ])
149+ @nox .session (python = ["3.7" , "3.8" , "3.9" , "3.10" , "3.11" ])
150150def unit (session ):
151151 """Run the unit test suite."""
152152 default (session )
153153
154154
155- @nox .session (python = ["3.6 " , "3.7 " , "3.8 " , "3.9 " , "3.10 " ])
155+ @nox .session (python = ["3.7 " , "3.8 " , "3.9 " , "3.10 " , "3.11 " ])
156156def unit_grpc_gcp (session ):
157157 """Run the unit test suite with grpcio-gcp installed."""
158158 constraints_path = str (
@@ -166,7 +166,7 @@ def unit_grpc_gcp(session):
166166 default (session )
167167
168168
169- @nox .session (python = ["3.8" , "3.10" ])
169+ @nox .session (python = ["3.8" , "3.10" , "3.11" ])
170170def unit_wo_grpc (session ):
171171 """Run the unit test suite w/o grpcio installed"""
172172 default (session , install_grpc = False )
0 commit comments