Ticket #3584: python_test.patch

File python_test.patch, 1.6 KB (added by Richard Webb <richard.webb@…>, 13 years ago)
  • libs/python/test/pickle1.cpp

     
    4040    boost::python::tuple
    4141    getinitargs(const world& w)
    4242    {
    43         using namespace boost::python;
    44         return make_tuple(w.get_country());
     43        return boost::python::make_tuple(w.get_country());
    4544    }
    4645  };
    4746
  • libs/python/test/pickle2.cpp

     
    5252    boost::python::tuple
    5353    getinitargs(const world& w)
    5454    {
    55         using namespace boost::python;
    56         return make_tuple(w.get_country());
     55        return boost::python::make_tuple(w.get_country());
    5756    }
    5857
    5958    static
    6059    boost::python::tuple
    6160    getstate(const world& w)
    6261    {
    63         using namespace boost::python;
    64         return make_tuple(w.get_secret_number());
     62        return boost::python::make_tuple(w.get_secret_number());
    6563    }
    6664
    6765    static
  • libs/python/test/pickle3.cpp

     
    5353    boost::python::tuple
    5454    getinitargs(const world& w)
    5555    {
    56         using namespace boost::python;
    57         return make_tuple(w.get_country());
     56        return boost::python::make_tuple(w.get_country());
    5857    }
    5958
    6059    static