8000 TST: xfail excel styler tests, xref GH25351 by jreback · Pull Request #25352 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TST: xfail excel styler tests, xref GH25351 #25352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 17, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
CI: cleanup .c files for cpplint>1.4
  • Loading branch information
jreback committed Feb 17, 2019
commit 7df2061c8797cfd5b3a076d546979d448ed777ae
6 changes: 3 additions & 3 deletions pandas/_libs/src/compat_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ the macro, which restores compat.
#ifndef PYPY_VERSION
# if PY_VERSION_HEX < 0x03070000 && defined(PySlice_GetIndicesEx)
# undef PySlice_GetIndicesEx
# endif
#endif
# endif // PY_VERSION_HEX
#endif // PYPY_VERSION

PANDAS_INLINE int slice_get_indices(PyObject *s,
Py_ssize_t length,
Expand All @@ -44,7 +44,7 @@ PANDAS_INLINE int slice_get_indices(PyObject *s,
#else
return PySlice_GetIndicesEx((PySliceObject *)s, length, start,
stop, step, slicelength);
#endif
#endif // PY_VERSION_HEX
}

#endif // PANDAS__LIBS_SRC_COMPAT_HELPER_H_
4 changes: 2 additions & 2 deletions pandas/_libs/src/inline_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The full license is in the LICENSE file, distributed with this software.
#define PANDAS_INLINE static inline
#else
#define PANDAS_INLINE
#endif
#endif
#endif // __GNUC__
#endif // PANDAS_INLINE

#endif // PANDAS__LIBS_SRC_INLINE_HELPER_H_
2 changes: 1 addition & 1 deletion pandas/_libs/src/parse_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ int to_double(char *item, double *p_value, char sci, char decimal,
#if PY_VERSION_HEX < 0x02060000
#define PyBytes_Check PyString_Check
#define PyBytes_AS_STRING PyString_AS_STRING
#endif
#endif // PY_VERSION_HEX

int floatify(PyObject *str, double *result, int *maybe_int) {
int status;
Expand Down
4 changes: 2 additions & 2 deletions pandas/_libs/src/parser/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The full license is in the LICENSE file, distributed with this software.

#ifndef O_BINARY
#define O_BINARY 0
#endif /* O_BINARY */
#endif // O_BINARY

/*
On-disk FILE, uncompressed
Expand Down Expand Up @@ -277,4 +277,4 @@ void *buffer_mmap_bytes(void *source, size_t nbytes, size_t *bytes_read,
return NULL;
}

#endif
#endif // HAVE_MMAP
2 changes: 1 addition & 1 deletion pandas/_libs/src/parser/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ typedef struct _file_source {

#if !defined(_WIN32) && !defined(HAVE_MMAP)
#define HAVE_MMAP
#endif
#endif // HAVE_MMAP

typedef struct _memory_map {
int fd;
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/src/parser/tokenizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,7 @@ int main(int argc, char *argv[]) {

return 0;
}
#endif
#endif // TEST

// ---------------------------------------------------------------------------
// Implementation of xstrtod
Expand Down
4 changes: 2 additions & 2 deletions pandas/_libs/src/parser/tokenizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ See LICENSE for the license

#if defined(_MSC_VER)
#define strtoll _strtoi64
#endif
#endif // _MSC_VER

/*

Expand Down Expand Up @@ -75,7 +75,7 @@ See LICENSE for the license
#define TRACE(X) printf X;
#else
#define TRACE(X)
#endif
#endif // VERBOSE

#define PARSER_OUT_OF_MEMORY -1

Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/tslibs/src/datetime/np_datetime.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This file is derived from NumPy 1.7. See NUMPY_LICENSE.txt

#if PY_MAJOR_VERSION >= 3
#define PyInt_AsLong PyLong_AsLong
#endif
#endif // PyInt_AsLong

const npy_datetimestruct _NS_MIN_DTS = {
1677, 9, 21, 0, 12, 43, 145225, 0, 0};
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/tslibs/src/datetime/np_datetime_strings.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ int make_iso_8601_datetime(npy_datetimestruct *dts, char *outstr, int outlen,
tmplen = _snprintf(substr, sublen, "%04" NPY_INT64_FMT, dts->year);
#else
tmplen = snprintf(substr, sublen, "%04" NPY_INT64_FMT, dts->year);
#endif
#endif // _WIN32
/* If it ran out of space or there isn't space for the NULL terminator */
if (tmplen < 0 || tmplen > sublen) {
goto string_too_short;
Expand Down
18 changes: 9 additions & 9 deletions pandas/util/move.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ The full license is in the LICENSE file, distributed with this software.

/* in python 3, we cannot intern bytes objects so this is always false */
#define PyString_CHECK_INTERNED(cs) 0
#endif /* !COMPILING_IN_PY2 */
#endif // !COMPILING_IN_PY2

#ifndef Py_TPFLAGS_HAVE_GETCHARBUFFER
#define Py_TPFLAGS_HAVE_GETCHARBUFFER 0
#endif
#endif // Py_TPFLAGS_HAVE_GETCHARBUFFER

#ifndef Py_TPFLAGS_HAVE_NEWBUFFER
#define Py_TPFLAGS_HAVE_NEWBUFFER 0
#endif
#endif // Py_TPFLAGS_HAVE_NEWBUFFER

static PyObject *badmove; /* bad move exception class */

Expand Down Expand Up @@ -85,14 +85,14 @@ static PyBufferProcs stolenbuf_as_buffer = {
(getbufferproc) stolenbuf_getbuffer,
};

#else /* Python 3 */
#else // Python 3

static PyBufferProcs stolenbuf_as_buffer = {
(getbufferproc) stolenbuf_getbuffer,
NULL,
};

#endif /* COMPILING_IN_PY2 */
#endif // COMPILING_IN_PY2

PyDoc_STRVAR(stolenbuf_doc,
"A buffer that is wrapping a stolen bytes object's buffer.");
Expand Down Expand Up @@ -208,7 +208,7 @@ static PyModuleDef move_module = {
-1,
methods,
};
#endif /* !COMPILING_IN_PY2 */
#endif // !COMPILING_IN_PY2

PyDoc_STRVAR(
badmove_doc,
Expand All @@ -231,7 +231,7 @@ PyInit__move(void)
#else
#define ERROR_RETURN
init_move(void)
#endif /* !COMPILING_IN_PY2 */
#endif // !COMPILING_IN_PY2
{
PyObject *m;

Expand All @@ -250,7 +250,7 @@ init_move(void)
if (!(m = PyModule_Create(&move_module)))
#else
if (!(m = Py_InitModule(MODULE_NAME, methods)))
#endif /* !COMPILING_IN_PY2 */
#endif // !COMPILING_IN_PY2
{
return ERROR_RETURN;
}
Expand All @@ -269,5 +269,5 @@ init_move(void)

#if !COMPILING_IN_PY2
return m;
#endif /* !COMPILING_IN_PY2 */
#endif // !COMPILING_IN_PY2
}
0